package com.glorystone.ins.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author:LiuSC
 * @Date:Created in 2018-03-13 13:52
 * @since: JDK 1.7
 * @Description:
 */
public @Data class Insurer {

    private Long tid;

    private String name;

    private Long userId;

    private String userName;

    private String area;

    private String accountName;

    private String accountNumber;

    private String bankName;

    private String bankBranch;

    private String contacts;

    private String phone;

    private String policyNumber;

    private Long createBy;

    @JsonSerialize(using = CustomLocalDateTimeSerializer.class)
    private LocalDateTime createDate;

    private Long updateBy;

    @JsonSerialize(using = CustomLocalDateTimeSerializer.class)
    private LocalDateTime updateDate;

    private Integer delFlag;
}
